package com.xfn.service;

import com.xfn.Mapper.LoginMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;
@Service("iLoginServiceApi")
public class ILoginApiImpl implements ILoginServiceApi {
    @Autowired(required = false)
    private LoginMapper loginMapper;

    @Override
    public Map<String, String> login(String username, String password) {
        return loginMapper.login(username,password);
    }
}
